package com.qqtech.qquan.user.service;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;

import com.qqtech.core.frame.dao.BaseDao;
import com.qqtech.core.frame.service.BaseServiceImpl;

import com.qqtech.qquan.user.dao.UserSuggestDao;
import com.qqtech.qquan.user.model.*;

@Service
public class UserSuggestServiceImpl extends BaseServiceImpl<UserSuggest>
		implements UserSuggestService {
	public static final Logger log = LoggerFactory.getLogger(UserSuggestServiceImpl.class);
	
	@Resource
	private UserSuggestDao userSuggestDao;

	@Override
	protected BaseDao<UserSuggest> getBaseDao() {
		return userSuggestDao;
	}
	
	@Override
	public Page<UserSuggestVo> queryPageListAdmin(UserSuggestQuery query, Pageable pageable) {
		return userSuggestDao.queryPageListAdmin(query, pageable);
	}
	
}